'
该场景用于控制游戏中各事件的交互
'

extends Node

signal experience_collected(number:int)#经验收集信号：数量
#能力升级增加信号：能力，当前能力字典
signal ability_upgrade_added(upgrade: AbilityUpgrade, current_upgrades: Dictionary)
signal ability_get_axe#获得斧子信号
signal player_damage#玩家受伤信号

#发射经验收集信号
func emit_experience_collected(number:int) -> void:
	experience_collected.emit(number)
	pass

#发射能力升级增加信号
func emit_ability_upgrade_added(upgrade: AbilityUpgrade, current_upgrades: Dictionary) -> void:
	ability_upgrade_added.emit(upgrade, current_upgrades)
	pass

#发射获得斧子信号
func emit_ability_get_axe() -> void:
	ability_get_axe.emit()
	pass

#发射玩家受伤信号
func emit_player_damage() -> void:
	player_damage.emit()
	pass
